package com.qcby.dao;

import java.util.HashMap;
import java.util.List;
import com.qcby.entity.Student;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);
    
    Student selectReturnSec(Student student);
    
    List<Student> findListByStudent(Student record);

    /**
     * 查询用户记录总数
     * @return
     */
    int selectCount();
    /**
     * 分页操作，调用findByPage limit分页方法
     * @param map
     * @return
     */
    List<Student> findByPage(HashMap<String,Object> map);
    
    
    //验证登录
	Student logincheck(Student student);
}